import {
	request
} from "../utils/request"



export default {
	// 活动订单详情
	userActivityInfo: (orderNo) => {
		return request({
			url: `/amianfrontend/userActivity/info/${orderNo}`
		})
	},

	// 进行中的任务
	userActivityOngoing: (data) => {
		return request({
			url: `/amianfrontend/userActivity/ongoing`,
			data
		})
	},

	// 取消活动
	userActivityCancel: (orderId) => {
		return request({
			url: `/amianfrontend/userActivity/cancel/${orderId}`
		})
	},

	// 我参与的活动-全部
	userActivityList: (nav) => {
		return request({
			url: `/amianfrontend/userActivity/list/${nav}`
		})
	},
}
